Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
A bit new to Umbraco, so this might be a bit of a scattered question.
I'm using 5.1.
I have a document type called Auction with a selected Template called Auction Details
My end goal is to call this controller method on my AuctionSurfaceController
[ChildActionOnly] public PartialViewResult Detail(string id) { Guid auctionId; if (Guid.TryParse(id, out auctionId)) { var auction = auctionService.Client.GetAuction(auctionId); return PartialView(auction); } return null; }
As of this moment when I go to /Auction - it hits this method and passes in "Auction" into the method, when I go to /Auction/{GUID} i just get a 404
Could I please get some general guidance - or requests for clarifications on how to accomplish this. I would very much appreciate it
Cheers!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Getting 404 on url <site>/auction/{Some Guid}
A bit new to Umbraco, so this might be a bit of a scattered question.
I'm using 5.1.
I have a document type called Auction with a selected Template called Auction Details
My end goal is to call this controller method on my AuctionSurfaceController
As of this moment when I go to /Auction - it hits this method and passes in "Auction" into the method, when I go to /Auction/{GUID} i just get a 404
Could I please get some general guidance - or requests for clarifications on how to accomplish this. I would very much appreciate it
Cheers!
is working on a reply...